From: Carlos Garnacho Date: Wed, 22 Nov 2023 12:06:17 +0000 (+0100) Subject: st: Adapt to ClutterGrab becoming a GObject X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~187 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=14db121ce540893fe80f856058fba2a2d9c8fccc;p=gnome-shell.git st: Adapt to ClutterGrab becoming a GObject Change the unref function, since it's no longer a boxed type. Part-of: --- diff --git a/src/st/st-scroll-bar.c b/src/st/st-scroll-bar.c index 270f3f2db..7b2d4987e 100644 --- a/src/st/st-scroll-bar.c +++ b/src/st/st-scroll-bar.c @@ -644,7 +644,7 @@ stop_scrolling (StScrollBar *bar) if (priv->grab) { clutter_grab_dismiss (priv->grab); - g_clear_pointer (&priv->grab, clutter_grab_unref); + g_clear_object (&priv->grab); } priv->grab_device = NULL;